/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 26727
 * Date: 2024-01-21
 * Time: 17:32
 */
public class Test {
    public static void main(String[] args) {
        MyLinkedList myLinkedList = new MyLinkedList();
        myLinkedList.addFirst(22);
        myLinkedList.addFirst(42);
        myLinkedList.addFirst(54);
        myLinkedList.addFirst(33);
        myLinkedList.display();
        myLinkedList.addLast(59);
        myLinkedList.display();
        myLinkedList.addIndex(1,99);
        myLinkedList.display();
        myLinkedList.remove(33);
        myLinkedList.display();
    }
}
